import {secklist} from '../../../request/api'
const state = {
    seckList:[]
}
const mutations={
    SECK(state,payload){
        state.seckList=payload
    }
}
const actions={
    getSeckAction({commit}){
        secklist().then(res=>{
            commit('SECK',res.list)
        })
    }
}
const getters={
    getSeck(state){
        return state.seckList
    }
}
export default{
    state,mutations,actions,getters,namespaced:true
}